package com.czy.booktest02.demos.config.bean;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "java-web-token")
public class JavaWebTokenConfigProperties {

    private String tokenSecret;

    public String tokenHeader;
}
